package esky.framework.cashew.web.action;

import java.util.HashMap;
import java.util.Map;

import esky.framework.cashew.stereotype.Action;
import esky.framework.cashew.web.bind.annotation.Mapping;
import esky.framework.cashew.web.bind.annotation.RequestMethod;

@Action
@Mapping("/test")
public class TestAction {

	@Mapping(value = "/find", method = RequestMethod.POST)
	public Object find() {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("username", "admin");
		map.put("password", "111111");
		return map;
	}
}
